<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

    <script type="text/javascript">
        window.Env = {"sales_title_tag":"flight_hotel","WWW_HOST":"www.mafengwo.cn","IMG_HOST":"images.mafengwo.net","W_HTTP":"http:\/\/w.mafengwo.cn","P_HOST":"passport.mafengwo.cn","P_HTTP":"https:\/\/passport.mafengwo.cn","PAGELET_HTTP":"http:\/\/pagelet.mafengwo.cn","JS_HOST":"js.mafengwo.net","TONGJI_HOST":"tongji.mafengwo.cn","UID":0,"CSTK":"df7bd3bd74bf9bbba88ba699818fe21a_a661b0c88c464f142e1f770514250590","GOOGLE_MAP_KEY":"AIzaSyD-Su0x_rPy1xehlMBcMyTqWkU49Bk53nQ"};
    </script>

    <link href="http://css.mafengwo.net/css/cv/css+base:css+jquery.suggest:css+plugins:css+plugins+jquery.jgrowl:css+other+popup:css+mfw-header.2015^YlVS^1527308432.css" rel="stylesheet" type="text/css"/>



    <script type="text/javascript">
        var __mfw_uid = parseInt('0');
    </script>
    <link href="http://css.mafengwo.net/css/cv/css+sales+m-toolbar:css+sales+brand-bar:css+sales+sales-list-v2:css+mfweditor+mfweditor^a1I^1532569727.css" rel="stylesheet" type="text/css"/>
    <script src="/js/common.js"></script>
    <script src="/js/jquery/jquery.min.js"></script>
    <script src="/js/plugins/jquery-form/jquery.form.js"></script>

    <style>
        .list-wrap .item {
            position: relative;
            height: 200px;
            width: auto;
        }
    </style>

    <script>
        $(function () {
            //类型更多
            var type = getParams().type;
            var userId = getParams().userId;
            if (type) {
                $.get('/products/more',{type:type}, function (data) {
                    $('.list-wrap').html(data);
                    $('.setUserId').click(function () {
                        var href = $(this).data('href');
                        $(this).attr('href', href + '&userId=' + userId);
                    })
                })
            }

            //关键字更多
            var keyword = getParams().keyword;

            if (keyword) {
                var url = "<%=bathPath%>/department/list?keyword=" + encodeURI(encodeURI(keyword));
                $.get('/products/more',{keyword:keyword}, function (data) {
                    $('.list-wrap').html(data);
                })
            }
        })

    </script>

</head>
<body>
<div class="sales-content">

    <div class="sort-bar">
        <ul>
            <li class="sort-item">
                <a class="active" data-sort="smart" data-sort-type="desc" data-sort-active="smart" href="javascript:void(0);">综合排序</a>
            </li>
            <li class="sort-item">
                <a data-sort="sold_num" data-sort-type="desc" data-sort-active="sold_num" href="javascript:void(0);">近期销量优先</a>
            </li>
            <li class="sort-item sort-price">
                <div class="price-trigger">
                    <a href="javascript:void(0);" data-sort-active="price">价格<i></i></a>
                </div>
                <ul class="drop-list hide" style="display: none;">
                    <li><a data-sort="price" data-sort-type="asc" href="javascript:void(0);">价格从低到高</a></li>
                    <li><a data-sort="price" data-sort-type="desc" href="javascript:void(0);">价格从高到低</a></li>
                </ul>
            </li>
        </ul>
    </div>
    <div class="not-found hide" data-notfound="1" style="display: none;">
        <i></i>
        <p>暂无此类自由行产品  再逛逛其他的～</p>
        <a href="javascript:void(0);" data-clear-all-chose="1">清空筛选条件</a>
    </div>
    <div class="list-wrap" data-list="1" id="listContent" style="display: block;">

    </div>
    <div id="list_pagination" align="right" class="m-pagination"></div>
</div>
</body>
</html>